package com.newhonor.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.newhonor.server.pojo.Employee;
import com.newhonor.server.pojo.RespPageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * @Author newhonor
 * @Date 2021/2/23 22:19
 * @Version 1.0
 **/
public interface IEmployeeService extends IService<Employee> {
    RespPageBean getEmployeeByPage(Integer currentPage, Integer size, Employee employee, LocalDate[] beginDateScope);

    /**
     * 查询员工。（有id就查id，没就是全部）
     * @param o
     * @return
     */
    List<Employee> getEmployee(Integer id);
}
